package com.px.user.model;


import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PayRespModel {
    @ApiModelProperty(value = "商户id", example = "200", hidden = true)
    private String code;

    @ApiModelProperty(value = "错误消息", hidden = true)
    private String msg;

    @ApiModelProperty(value = "支付响应Dto类", hidden = true)
    private InnerData data;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class InnerData {

        @ApiModelProperty(value = "二维码图片连接", example = "http://qr...")
        private String qrcode;

        @ApiModelProperty(value = "用户实际充值金额", example = "500")
        private String pay;
    }
}
